package com.zuoqi.common;

/**
 * Created by yxtest on 2017/6/29.
 */
public class CacheConstant {

    public static final long LIVE_TIME = 10*60 ; //10分钟
    /**
     * ehcache 缓存名称
     */
    public static final class CacheName {
        public static final String EHCACHE_USER = "user";
        public static final String EHCACHE_INDEX = "index";
    }

    /**
     * @ClassName: CacheKey
     * @Description: 对应的key
     * @author gejun
     */
    public static final class CacheKey {
        public static final String INDEX_REPORT = "report:";//首页报表
        public static final String INDEX_MENU = "menu:"; //用户菜单
        public static final String INDEX_MODEL_MENU = "modelMenu:"; //模块菜单
        public static final String INDEX_VIEW = "view:"; //模块菜单
        public static final String INDEX_NOTICE = "notice:"; //公告
    }

}
